<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:mc="http://java.sun.com/jsf/composite/components">


<body>
	<ui:composition>


        
		
		
      <h:panelGrid columns="1" rendered="#{!personBean.login}"> 
		
	  <p align="left" style="color: fuchsia; font-size: large; font-style: inherit;">Signin</p>

			<mc:login email="Email" email_="#{personBean.email}"
				password="Password" password_="#{personBean.password}"
				submitButton="Submit" submitButtonAction="#{personBean.doLogin()}" />

		</h:panelGrid>
		
		
	 <h:panelGrid columns="1" rendered="#{!personBean.logout}"> 
		
	<h:form>
	<div align="right" >
			<h:panelGrid columns="2">
			#{personBean.email}
			<h:commandLink action="#{personBean.doLogout}" value="Çıkış" />
			</h:panelGrid>			
	</div>
	</h:form>

		</h:panelGrid>


	</ui:composition>
</body>

</html>